package com.daifeng.gulimall.order.feign;

import com.daifeng.gulimall.order.vo.SpuInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "gulimall-product")
public interface productServiceFeign {

    @RequestMapping("/product/spuinfo/getInfoBySkuId/{SkuId}")
    public SpuInfoVo getInfoBySkuId(@PathVariable("SkuId") Long id);

}
